import Vue from 'vue'
import Vuex, {Store} from 'vuex'
import * as modules from './modules'
import * as actions from './actionTypes'
import * as mutations from './mutationTypes'
import storagePlugin from './plugin/storage'

Vue.use(Vuex)
export const ACTION = actions
export const MUTATION = mutations
export default new Store({
  modules,
  plugins: [storagePlugin]
})
